package io.renren.modules.bmx.dao;

import io.renren.modules.bmx.entity.CartypeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.bmx.vo.CartypeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 车型
 *
 * @author HuangKexiang
 * @email yesjava@126.com
 * @date 2021-02-20 01:46:29
 */
@Mapper
public interface CartypeDao extends BaseMapper<CartypeEntity> {
    /**
     *  根据userId 查询改用户对应的数据权限：包括车型、科目、题型、套题
     * @param userId
     * @return
     */
    public List<CartypeVo> selectUserAllLevels(Long userId);
}
